SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 60616: Loading a configuration returns "Failed to load current LSF cluster configuration. Details: org.springframework.dao.DataIntegrityViolationException"

DetailsAboutRate It

When trying to load a configuration in SAS® Environment Manager Grid Manager module, you might receive this error message:

Failed to load current LSF cluster configuration. Details:
org.springframework.dao.DataIntegrityViolationException

When you encounter this problem, the PlatformWebServices.log displays the following message:

ERROR com.platform.pws.webservice.impl.LSFConfigWebServiceImpl.loadLsfConfig(LSFConfigWebServiceImpl.java:239)] Exception occured with details:org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into PWS_LSF_CFG_ELEMENT (ELEMENT_NAME, ELEMENT_TIME, LSF_CFG_ELEMENT_ID) values (?, ?, ?)]; nested exception is org.hibernate.exception.DataException: Could not execute JDBC batch update

If the host is longer than 32 characters, you can use the PGIII Admin tool to circumvent the problem. Manually modify the column width in Postgres for the PlatformWebServices (PWS) database by entering the following:

ALTER TABLE PWS_LSF_CFG_ELEMENT ALTER COLUMN element_name TYPE varchar(100);

Note: You can also access the PWS database from another source to manually modify the column width. 



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemPlatform Web Services for SASMicrosoft® Windows® for x641.41.59.4 TS1M49.4 TS1M5
64-bit Enabled AIX1.41.59.4 TS1M49.4 TS1M5
64-bit Enabled Solaris1.41.59.4 TS1M49.4 TS1M5
HP-UX IPF1.41.59.4 TS1M49.4 TS1M5
Linux for x641.41.59.4 TS1M49.4 TS1M5
Solaris for x641.41.59.4 TS1M49.4 TS1M5
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.